test(daemon): bound idle frontend maintenance probes - #2215
lorenzozanee wants to merge 1 commit into
Conversation
|
Thanks for opening this — it has been seen, and it is queued. This note is automated, but it is not a brush-off: it exists so you know where your PR stands instead of having to guess from silence. Current review status: working through a backlog. What that means for this PR, concretely:
Things that will genuinely speed it up whenever review does happen:
If this fixes a bug, a reproduction we can run is worth more than a description of the symptom. Thanks for contributing, and sorry in advance for the wait. |
|
Thank you for the eviction regression. The test's fixed 100 ms sleep is shorter than the current 250 ms production idle interval, so elapsed sleep is not a deterministic proof that eviction reached the intended state. Please make the test control or observe the relevant state transition rather than increasing the sleep budget or adding retries. |
|
Thank you — bounding idle frontend maintenance probes is a good guard to have, and 21 lines in one test file is an easy review. One blocker, and it is the only thing standing between this and a merge: the Your commit carries no Every other check on this PR is green (31 success, 1 skipped). Sign it off and I will merge it. A note on how I will review it once it is green, since it is a test-only change: I check that a new test can actually fail, by reverting the production code it covers and confirming the test goes red. A test that passes with the behaviour removed proves nothing, and this repository has shipped a few of those. For a pure guard like this one, the question I will be asking is whether an unbounded probe loop would actually trip it — if you already know it does, saying so in a sentence saves me the round trip. For what it is worth: #2241 and #2242 were signed off correctly and both merged today after exactly that check. Nice work on those. |
Summary
Add focused regression coverage for the idle frontend maintenance probe cadence, preventing the old hot polling loop from returning during quiet sessions.
Reviewers
@DeusData, @CaptainMittens, @LazyXuan
Fixes #2093
Supersedes #2101(原PR分支已删,按原提交重建)